package com.tuanzi.loan.business.service.collaborate;

import com.tuanzi.loan.business.entity.collaborate.NewCollaborateChannelRatio;
import com.tuanzi.loan.business.entity.common.CommProductChannel;
import com.tuanzi.loan.core.service.CommonService;

import java.util.List;
import java.util.Set;

/**
 * User: liangZongXi
 * Create time: 16:36 2018/9/18
 * Description:
 */
public interface CollaborateChannelRatioService extends CommonService<NewCollaborateChannelRatio, Integer> {
    NewCollaborateChannelRatio findCollaborateChannelRatioByChannelId(Integer channelId);

    Set<Integer> findCurrentUserShowType(List<CommProductChannel> currentUserChannelList);

    Set<Integer> findCurrentUserMarketShow(List<CommProductChannel> currentUserChannelList);
    Set<Integer> findCurrentUserCheckInShow(List<CommProductChannel> currentUserChannelList);

    void updateRatioFromTomorrowRatio();

    Boolean updateCollaborateData();
}
